package com.maimao.core.enums;

import lombok.Getter;

/**
 * @author MaoLin Wang
 * @date 2021/3/21 9:16 下午
 */
public enum GoodsStatusEnum {
    /**
     * 商品status状态
     */
    VALID(1, "有效且已通过审核"),
    NOT_VALID(0, "无效"),
    NOT_CHECK(2, "待审核(发布)"),
    NOT_CHECK_UPDATE(3, "待审核(修改)");

    @Getter
    private final int code;
    @Getter
    private final String msg;

    GoodsStatusEnum(int code, String msg) {
        this.code = code;
        this.msg = msg;
    }
}
